package com.smartleanx.module.hrm.controller.admin.companysystem.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.smartleanx.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.smartleanx.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 公司制度库分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CompanySystemPageReqVO extends PageParam {

    @Schema(description = "id")
    private Collection<Long> id;

    @Schema(description = "制度名称", example = "王五")
    private String name;

    @Schema(description = "制度编号")
    private String code;

    @Schema(description = "制度分类id", example = "6522")
    private Long typeId;

    @Schema(description = "是否符合民主程序", example = "1")
    private Integer complianceStatus;

    @Schema(description = "是否需员工确认", example = "2")
    private Integer confirmStatus;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "员工确认信息")
    private String confirmInfo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
